Package com.cisco.pt.ipc.sim.pdu.impl
Class OSPFv6InterAreaRouterLSAImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCDataImpl
com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
com.cisco.pt.ipc.sim.pdu.impl.PduImpl
com.cisco.pt.ipc.sim.pdu.impl.OSPFLSAImpl
com.cisco.pt.ipc.sim.pdu.impl.OSPFv6LSAImpl
com.cisco.pt.ipc.sim.pdu.impl.OSPFv6InterAreaRouterLSAImpl
-
Field Summary
FieldsFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.OSPFLSAImpl
headerFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
fieldNames, fieldTable, signalType, typeTable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidencodeTypeAndPayload(EncodedBuffer buffer) getFieldType(String fieldName) intvoidpduRead(EncodedBuffer buffer) voidread(EncodedBuffer buffer) Reads this object from an EncodedBuffer of raw datavoidsetDesignatedRouterId(IPAddress designatedRouterId) voidsetMetric(int metric) voidsetOption(OSPFv6OptionField option) Methods inherited from class com.cisco.pt.ipc.sim.pdu.impl.OSPFLSAImpl
getHeader, setHeaderMethods inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
getFieldValueMethods inherited from class com.cisco.pt.ipc.impl.IPCDataImpl
checkType, pduReadBoolean, pduReadByte, pduReadDouble, pduReadFloat, pduReadInt, pduReadIPAddress, pduReadIPCData, pduReadIPV6Address, pduReadLong, pduReadMACAddress, pduReadPair, pduReadQString, pduReadShort, pduReadString, pduReadUUID, pduReadVector, readBoolean, readByte, readDouble, readFloat, readInt, readIPAddress, readIPCData, readIPV6Address, readLong, readMACAddress, readPair, readQString, readShort, readString, readUUID, readVectorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.sim.pdu.Signal
getFieldValue
-
Field Details
-
option
-
metric
protected int metric -
designatedRouterId
-
-
Constructor Details
-
OSPFv6InterAreaRouterLSAImpl
public OSPFv6InterAreaRouterLSAImpl()
-
-
Method Details
-
getOption
- Specified by:
getOptionin interfaceOSPFv6InterAreaRouterLSA- Returns:
- OSPFv6OptionField Returns a OSPFv6OptionField
-
setOption
- Specified by:
setOptionin interfaceOSPFv6InterAreaRouterLSA- Parameters:
option- Takes in a parameter of option
-
getMetric
public int getMetric()- Specified by:
getMetricin interfaceOSPFv6InterAreaRouterLSA- Returns:
- int Returns a int
-
setMetric
public void setMetric(int metric) - Specified by:
setMetricin interfaceOSPFv6InterAreaRouterLSA- Parameters:
metric- Takes in a parameter of metric
-
getDesignatedRouterId
- Specified by:
getDesignatedRouterIdin interfaceOSPFv6InterAreaRouterLSA- Returns:
- IPAddress Returns a IPAddress
-
setDesignatedRouterId
- Specified by:
setDesignatedRouterIdin interfaceOSPFv6InterAreaRouterLSA- Parameters:
designatedRouterId- Takes in a parameter of designatedRouterId
-
getFieldType
- Overrides:
getFieldTypein classOSPFv6LSAImpl
-
read
Reads this object from an EncodedBuffer of raw data- Specified by:
readin interfaceIPCData- Overrides:
readin classOSPFv6LSAImpl- Parameters:
buffer- The EncodedBuffer that contains the raw data from which to construct this object
-
pduRead
- Specified by:
pduReadin interfaceSignal- Overrides:
pduReadin classOSPFv6LSAImpl
-
getOrderedFieldNames
- Specified by:
getOrderedFieldNamesin interfaceSignal- Overrides:
getOrderedFieldNamesin classOSPFv6LSAImpl
-
encodeTypeAndPayload
- Specified by:
encodeTypeAndPayloadin interfaceSignal- Overrides:
encodeTypeAndPayloadin classOSPFv6LSAImpl
-